package cn.zf233.xcloud.service;

import cn.zf233.xcloud.commom.R;
import cn.zf233.xcloud.entity.User;
import cn.zf233.xcloud.vo.UserVo;

import java.util.Map;

/**
 * Created by zf233 on 2021/1/17
 */
public interface AdminService {

    R getAllUserInfo(Integer role);

    R lockOrUnlock(User user, Integer lock);

    R removeUser(User user);

    R userTypeChart();

    R<Map<String, Object>> flowChart();

    void uploadFlow(Long flow);

    void downloadFlow(Long flow);

    void flushWeekFlow();

    void setIpInfo(UserVo userVo);
}
